package net.pws.common.security.spi.resource;

import java.io.File;
import java.io.InputStream;

/**
 */
public interface ResourceDefinitionParser {
    
    /**
     * @param string
     *            the xml content
     * @return
     */
    public IResource[] parse(String string);
    
    /**
     * @param file
     *            the xml file
     * @return
     */
    public IResource[] parse(File file);
    
    /**
     * @param inputStream
     *            the xml input stream
     * @return
     */
    public IResource[] parse(InputStream inputStream);
}
